<!DOCTYPE html>

<html>
    <head>
        <title>Page Title</title>
        <meta charset="utf8"/>
        <link href="<?php echo Yii::app()->request->baseUrl . '/css/bootstrap-3.2.0/css/bootstrap.min.css'; ?>" rel="stylesheet" type="text/css"/>
        <script src="<?php echo Yii::app()->request->baseUrl . '/css/bootstrap-3.2.0/js/jquery-1.11.1.min.js'; ?>" type="text/javascript"></script>
        <script src="<?php echo Yii::app()->request->baseUrl . '/css/bootstrap-3.2.0/js/bootstrap.min.js'; ?>" type="text/javascript"></script>
        <style type="text/css">
            #header {width: 100%;height: 50px;background-color: #16B5EF;}
            #header a {display: inline-block;margin-top: 8px;}
            #header span {display: inline-block;margin-top: 8px;color: white;font-size: 20px;}
            .photo{height: 150px;width: 80%;text-align:center !important;}
            .content{padding-left:40px;padding-right: 40px;font-family: 微软雅黑;font-weight:bold;font-size:16px;}
            div.yin{box-shadow:0px 50px 20px 20px #EBEBEB;height: 90%;margin-left: 20px;margin-right: 20px;background-color: white;border-radius: 5px;}
        </style>
    </head>

    <body style="background-color:#EBEBEB">
        <div id="header">
            <?php
            echo $control->getAjaxLink(array(
                'name' => '<img src="' . Yii::app()->request->baseUrl . '/images/BWeEvent/back.png' . '"/>',
                'id' => 'goIndex'), array(
                'viewName' => 'guanzhe_index_2',
                'htmlOptions' => array(
                    'enctype' => 'multipart/form-data'
            )));
            ?><span>俱乐部介绍</span>
        </div>
        <div style="height:20px"></div>
        <?php
        if (isset($eventList)) {
            foreach ($eventList as $id => $bookingItem) {
                $clubName = $bookingItem->getItem('clubName')->value;
                $address = $bookingItem->getItem('address')->value;
                $foundTime = $bookingItem->getItem('foundTime')->value;
                $image = $bookingItem->getItem('image')->value;
                $info = $bookingItem->getItem('info')->value;
                ?>
                <div class="yin">
                    <p style="text-align:center"><img style="height:150px" class="photo"  src="<?php echo Yii::app()->request->baseUrl . $image; ?>"></p>
                    <div class="content">
                        <p>俱乐部名称：<?php echo $clubName; ?></p>
                        <p>成立时间：<?php echo $foundTime; ?></p>
                        <p>地址：<?php echo $address; ?></p>
                        <p>简介：<?php echo $info; ?></p>
                    </div>
                </div>
            <?php }
        }
        ?>
    </body>
</html>
